package ttt.core;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias("status")
public class Status {
	public static final int OK = 0;
	public static final int FAIL = 1;
	
	private int status;
	private String message;


	public Status(int status) {
		this(status, "");
	}

	public Status(int status, String message) {
		super();
		this.status = status;
		this.message = message;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}


	public String getMessage() {
		return message;
	}


	
}
